package com.qf.huigou.entity;

public class Phone {

    private int id;
    private int brand_id;
    private String name;
    private String phone_img;
    private int price;
    private int status;
    private int sort;

    public Phone() {
    }

    public Phone(int id, int brand_id, String name, String phone_img, int price, int status, int sort) {
        this.id = id;
        this.brand_id = brand_id;
        this.name = name;
        this.phone_img = phone_img;
        this.price = price;
        this.status = status;
        this.sort = sort;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBrand_id() {
        return brand_id;
    }

    public void setBrand_id(int brand_id) {
        this.brand_id = brand_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone_img() {
        return phone_img;
    }

    public void setPhone_img(String phone_img) {
        this.phone_img = phone_img;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "id=" + id +
                ", brand_id=" + brand_id +
                ", name='" + name + '\'' +
                ", phone_img='" + phone_img + '\'' +
                ", price=" + price +
                ", status=" + status +
                ", sort=" + sort +
                '}';
    }
}
